#ifndef OPERATION_H
#define OPERATION_H

#include "IOperator.h"


class Operation
{
    public:

        Operation();
        ~Operation();

        const IOperator* get_operator() { return this->_operator; };
        void set_operator(IOperator* val) { this->_operator = val; };

        double execute(double, double) const;

    private:

        IOperator* _operator;
};

#endif // OPERATION_H
